package com.becca.cake.model.goods;

import java.io.Serializable;
import java.util.Date;

/**
 * 商品分类实体
 * @copyright  尊星(上海)信息科技有限公司
 * @author hejinguo
 * @date 2016年4月10日 上午2:03:58
 */
public class GoodsCategoryModel implements Serializable {

    /**  */
    private static final long serialVersionUID = 595580393202734557L;
    private Integer           id;
    /**分类名称*/
    private String            categoryName;
    /**分类拼音名*/
    private String            categoryNamePinyin;
    /**分类状态(0:可用  1:禁用)*/
    private Byte              categoryStatus;
    /**父ID*/
    private Integer           parentId;
    /**排序*/
    private Integer           categoryOrder;
    /**创建时间*/
    private Date              createdDate;
    /**创建人*/
    private String            createdName;
    /**修改时间*/
    private Date              updatedDate;
    /**修改人*/
    private String            updatedName;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCategoryName() {
        return categoryName;
    }

    public void setCategoryName(String categoryName) {
        this.categoryName = categoryName;
    }

    public String getCategoryNamePinyin() {
        return categoryNamePinyin;
    }

    public void setCategoryNamePinyin(String categoryNamePinyin) {
        this.categoryNamePinyin = categoryNamePinyin;
    }

    public Byte getCategoryStatus() {
        return categoryStatus;
    }

    public void setCategoryStatus(Byte categoryStatus) {
        this.categoryStatus = categoryStatus;
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public Integer getCategoryOrder() {
        return categoryOrder;
    }

    public void setCategoryOrder(Integer categoryOrder) {
        this.categoryOrder = categoryOrder;
    }

    public Date getCreatedDate() {
        return createdDate;
    }

    public void setCreatedDate(Date createdDate) {
        this.createdDate = createdDate;
    }

    public String getCreatedName() {
        return createdName;
    }

    public void setCreatedName(String createdName) {
        this.createdName = createdName;
    }

    public Date getUpdatedDate() {
        return updatedDate;
    }

    public void setUpdatedDate(Date updatedDate) {
        this.updatedDate = updatedDate;
    }

    public String getUpdatedName() {
        return updatedName;
    }

    public void setUpdatedName(String updatedName) {
        this.updatedName = updatedName;
    }

    @Override
    public String toString() {
        return "GoodsCategoryDO [id=" + id + ", categoryName=" + categoryName
               + ", categoryNamePinyin=" + categoryNamePinyin + ", categoryStatus="
               + categoryStatus + ", parentId=" + parentId + ", categoryOrder=" + categoryOrder
               + ", createdDate=" + createdDate + ", createdName=" + createdName + ", updatedDate="
               + updatedDate + ", updatedName=" + updatedName + "]";
    }

}
